package org.jeecg.modules.pd.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.pd.entity.PdBillNoRule;

/**
 * @Description: 单据号生成规则表
 * @Author: jiangxz
 * @Date:   2020-10-26
 * @Version: V1.0
 */
public interface PdBillNoRuleMapper extends BaseMapper<PdBillNoRule> {

    String getNextVal(@Param("type") String type);

    void updateValueByType(PdBillNoRule pdBillNoRule);
}
